home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / gnu / bison_1_22.lha / bison-1.22 / lalr.ch < prev    next >
Text File  |  1995-01-20  |  1KB  |  63 lines

  1. Changes for LALR.C by Andreas Scherer, January 20, 1995.
  2.  
  3. @x l.50
  4. #include <stdio.h>
  5. #include "system.h"
  6. #include "machine.h"
  7. #include "types.h"
  8. #include "state.h"
  9. #include "new.h"
  10. #include "gram.h"
  11. @y
  12. #include <stdio.h>
  13. #include <stdlib.h>
  14. #include "system.h"
  15. #include "machine.h"
  16. #include "types.h"
  17. #include "state.h"
  18. #include "ansinew.h"
  19. #include "gram.h"
  20. @z
  21.  
  22. @x l.76
  23. short **transpose();
  24. void set_state_table();
  25. void set_accessing_symbol();
  26. void set_shift_table();
  27. void set_reduction_table();
  28. void set_maxrhs();
  29. void initialize_LA();
  30. void set_goto_map();
  31. void initialize_F();
  32. void build_relations();
  33. void add_lookback_edge();
  34. void compute_FOLLOWS();
  35. void compute_lookaheads();
  36. void digraph();
  37. void traverse();
  38.  
  39. extern void toomany();
  40. extern void berror();
  41. @y
  42. void lalr(void);
  43. void set_state_table(void);
  44. void set_accessing_symbol(void);
  45. void set_shift_table(void);
  46. void set_reduction_table(void);
  47. void set_maxrhs(void);
  48. void initialize_LA(void);
  49. void set_goto_map(void);
  50. int map_goto(int, int);
  51. void initialize_F(void);
  52. void build_relations(void);
  53. void add_lookback_edge(int, int, int);
  54. short **transpose(short **, int);
  55. void compute_FOLLOWS(void);
  56. void compute_lookaheads(void);
  57. void digraph(short **);
  58. void traverse(register int);
  59.  
  60. extern void toomany(char *);
  61. extern void berror(char *);
  62. @z
  63.